package com.jy.rhin.application.enums;

/**
 * @Description: 事件操作代码
 * @Author: lww
 * @Date: 2022/5/12 11:21
 */
public enum EventActionCodeEnum implements BaseEnum{

    /**
     * C.1　事件活动代码
     */
    CREATE("C", "创建"),
    READ("R", "读取"),
    UPDATE("U", "更新"),
    DELETE("D", "删除"),
    EXECUTE("E", "执行");

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    private String code;
    private String name;

    private EventActionCodeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
